import { HTTP } from '../utils/http.js'

class Vote extends HTTP {

    // 投票详情
    vote_detail(objs) {
        return this.request({
        url: '/question_info/vote_detail',
        method: 'post',
        header: {
        'content-type': 'application/x-www-form-urlencoded'
        },
        data: objs
        })
    }
    // 投票
    change_vote(objs) {
        return this.request({
        url: '/question_info/change_vote',
        method: 'post',
        header: {
        'content-type': 'application/x-www-form-urlencoded'
        },
        data: objs
        })
    }
    

}

export { Vote }